package cn.gqr.entity;

public class BlogUser {

    private Blog blog;
    private User user;

    public BlogUser() {
    }

    public BlogUser(Blog blog, User user) {
        this.blog = blog;
        this.user = user;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "BlogUser{" +
                "blog=" + blog +
                ", user=" + user +
                '}';
    }
}
